import request from '@/common/request'


export function getShowList(params) {
    return request({
        url: '/apikanke/read/getShowList',
        method: 'get',
        params,
    })
}

export function getList(params) {
    return request({
        url: '/apikanke/read/getList',
        method: 'get',
        params,
    })
}

export function updateSortNum(data) {
    return request({
        url: '/apikanke/read/updateSortNum',
        method: 'post',
        data,
    })
}

export function removeReadShow(data) {
    return request({
        url: '/apikanke/read/removeReadShow',
        method: 'post',
        data,
    })
}
export function delReadModule(data) {
    return request({
        url: '/apikanke/read/delReadModule',
        method: 'post',
        data,
    })
}

export function editReadModule(data) {
    return request({
        url: '/apikanke/read/editReadModule',
        method: 'post',
        data,
    })
}

export function getInfo(params) {
    return request({
        url: '/apikanke/read/getInfo',
        method: 'get',
        params,
    })
}
export function getModuleCateList(params) {
    return request({
        url: '/apikanke/read/getModuleCateList',
        method: 'get',
        params,
    })
}

export function getModuleCateCourseList(params) {
    return request({
        url: '/apikanke/read/getModuleCateCourseList',
        method: 'get',
        params,
    })
}

export function eidtReadModuleCoursewarePublish(data) {
    return request({
        url: '/apikanke/read/eidtReadModuleCoursewarePublish',
        method: 'post',
        data,
    })
}


export function batchEditShow(data) {
    return request({
        url: '/apikanke/read/batchEditShow',
        method: 'post',
        data,
    })
}

export function editReadModuleCat(data) {
    return request({
        url: '/apikanke/read/editReadModuleCat',
        method: 'post',
        data,
    })
}

export function eidtReadModuleCoursewarePublishShow(data) {
    return request({
        url: '/apikanke/read/eidtReadModuleCoursewarePublishShow',
        method: 'post',
        data,
    })
}


export function updateSortNumCat(data) {
    return request({
        url: '/apikanke/read/updateSortNumCat',
        method: 'post',
        data,
    })
}

export function delReadModuleCat(data) {
    return request({
        url: '/apikanke/read/delReadModuleCat',
        method: 'post',
        data,
    })
}




